package com.orange.decoratorPatterns;

public class RedBuff implements person{
    //定义一个person接口变量
    private person p;
    public RedBuff(person person){
        this.p=person;
    }
    public void attrack() {
        System.out.println("增加红buff");
        p.attrack();
    }
}
